package com.thinkinjava.genericity.coffee;

/**
 * @Description coffee类
 * @Author
 * @Date 2020/1/21 15:57
 **/
public class Coffee {
    private static long counter =0;
    private final long id = counter++;

    @Override
    public String toString() {
        return this.getClass().getSimpleName()+"{" +
                "id=" + id +
                '}';
    }
}
